package com.szrt.java.day20170104.demo02;

public class StarDemo {
	
	
	public static void main(String[] args) {
		
		
		for(int outer=1;outer<=4;outer++){
			
			for(int inner=1;inner<=8;inner++){
				
				if(inner ==1 || inner ==8){
					System.out.print("*");
				}else{
					if(outer==1 || outer==4){
						System.out.print("*");
					}else{
						System.out.print(" ");
						//continue;
					}
				}
				
				
			}
			System.out.println();
			
		}
		
	}

}
